@extends('eval.base.evaluation')

@section('content')
@section('content1')
<form action="/home/product" method="get">
    <input type="text" placeholder="请输入商品名称" name="name">
    <button>搜索</button>
</form>
    
@stop
    <div class="cart-content w1200">
        	<ul class="cart-tit-nav">
            	<li class="current"><a href="#">全部商品 </a></li>
                <div style="clear:both;"></div>
            </ul>
            <div class="cart-con-tit">
                <p class="p6">商品图片</p>
                <p class="p3">商品信息</p>
                <p class="p5" style="float:right">单价（元）</p>
            </div>
        @foreach ($pro as $v)        
            <div class="cart-con-info">
                <div class="info-mid">
                    <div class="mid-tu f-l">
                    	<a href="#"><img src="{{ asset('images').'/'.$v->picture }}" /></a>
                    </div>
                    <div class="mid-font f-l">
                    	<a href="#">{{ $v->name }}<br />{{ $v->description }}</a>
                    </div>
                    <p class="mid-dj f-l" style="float:right">¥ <span>{{ $v->lower_price }}</span></p>
                    <div style="clear:both;"></div>
                </div>
            </div>
        @endforeach  
            分页
            <div class="paging">
            	<div class="pag-left f-l">
                	<a href="#" class="about left-r f-l"><</a>
                    <ul class="left-m f-l">
                    	{{ $pro->appends($where)->links() }}
                        <div style="clear:both;"></div>
                    </ul>
                	<a href="#" class="about left-l f-l">></a>

                    <div style="clear:both;"></div>
                </div>
                <div style="clear:both;"></div>
            </div>
            <div style="clear:both;"></div>
        </div>
@stop